﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace VISS.Web.Frontend.Modules.User
{
    public partial class ForgotPassword : System.Web.UI.Page
    {
        public int IDStyle { get; set; }

        protected void Page_Load(object sender, EventArgs e)
        {
            UserContext userContext = LoginFactory.GetCurrentUser();
            if (userContext != null)
            {
                Response.Redirect("/profile?u=" + userContext.UserKey);
                return;
            }

            IDStyle = 1;


            // SEO
            IHeadSeo seo = this.Master as IHeadSeo;
            seo.Title = StringResources.SEO.TitleUserRegister + " | " + StringResources.SEO.TitleDefault;
            seo.Description = StringResources.SEO.DescriptionDefault;
            seo.Keywords = StringResources.SEO.KeywordsDefault;
        }
    }
}
